<?php

namespace Admin\Model;

use Think\Model;
use Think\Page;

class  AdsmanageModel extends Model{
    
    
    public function getCata($type){
        $map['parent_id']=$type;
        $result=M('category')->where($map)->select();
        return   $result;
    }
    
}